///<reference path="../../scripts/jquery.d.ts"/>
///<reference path="../../scripts/angular.d.ts"/>
///<reference path="../mainFeature/mainCtrl.ts"/>
///<reference path="../mainFeature/mainSvc.ts"/>
///<reference path="../mainFeature/mainDirective.ts"/>

var myApp = angular.module("myApp", []);

myApp.controller("mainController", ["$scope", "mainService", ($scope, mainService)
    => new MainFeature.MainController($scope, mainService)]);

myApp.factory("mainService", ()
    => new MainFeature.MainService());

myApp.directive("mainDirective", ()
    => new MainFeature.MainDirective());